/**
 * 判定-名称显示
 * @param determine
 * @returns {string}
 */
function determineName(determine) {
    if (determine == 1 || determine == "1") {
        return "满足设计要求";
    }  else if (determine == 2 || determine == "2") {
        return "不满足设计要求";
    }else if (determine == 0 || determine == "0") {
        return "未填写";
    } else {
        return "";
    }
}

/**
 * 桩身完整性-名称显示
 * @param integrity
 * @returns {string}
 */
function integrityName(integrity) {
    if (integrity  == 1 || integrity == "1") {
        return "I";
    } else if (integrity == 2 || integrity == "2") {
        return "II";
    } else if (integrity == 3 || integrity == "3") {
        return "III";
    }  else if (integrity == 4 || integrity == "4") {
        return "IV";
    } else if (integrity == 0 || integrity == "0") {
        return "未填写";
    }else {
        return "";
    }
}

/**
 * 有误沉渣-名称显示
 * @param sediment
 */
function sedimentName(sediment) {
    if (sediment == 2 || sediment == "2") {
        return "有";
    } else if (sediment == 1 || sediment == "1") {
        return "无";
    }else if (sediment == 0 || sediment == "0") {
        return "未填写";
    }else {
        return "";
    }
}

/**
 * 混凝土设计强度等级-名称显示
 * @param sediment
 */
function concreteDesignGradeName(concreteDesignGrade) {
    if (concreteDesignGrade == 0 || concreteDesignGrade == "0") {
        return "C20";
    } else if (concreteDesignGrade == 1 || concreteDesignGrade == "1") {
        return "C25";
    }else if (concreteDesignGrade == 2 || concreteDesignGrade == "2") {
        return "C30";
    }else if (concreteDesignGrade == 3 || concreteDesignGrade == "3") {
        return "C35";
    }else if (concreteDesignGrade == 4 || concreteDesignGrade == "4") {
        return "C40";
    }else if (concreteDesignGrade == 5 || concreteDesignGrade == "5") {
        return "C45";
    }else if (concreteDesignGrade == 6 || concreteDesignGrade == "6") {
        return "C50";
    }else if (concreteDesignGrade == 7 || concreteDesignGrade == "7") {
        return "C55";
    }else if (concreteDesignGrade == 8 || concreteDesignGrade == "8") {
        return "C60";
    } else if (concreteDesignGrade == 9 || concreteDesignGrade == "9") {
        return "C65";
    } else if (concreteDesignGrade == 10 || concreteDesignGrade == "10") {
        return "C70";
    } else if (concreteDesignGrade == 11 || concreteDesignGrade == "11") {
        return "C75";
    } else if (concreteDesignGrade == 12 || concreteDesignGrade == "12") {
        return "C80";
    } else {
        return "";
    }
}